import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
import StartView from '../views/CartPage.vue'
import OrderView from '../views/OrderPage.vue'
import OrderConfirmView from '../views/OrderConfirmPage.vue'
const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'start',
    component: StartView
  },
  {
    path: '/order',
    name: 'order',
    component: OrderView

  },
  {
    path: '/orderconfirm',
    name: 'orderconfirm',
    component: OrderConfirmView
  }

]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
